nusoap_client[nu]soapclient higher level class for easy usage.
usage:
// instantiate client with server info $soapclient = new nusoap_client( string path [ ,mixed wsdl] );
// call method, get results echo $soapclient->call( string methodname [ ,array parameters] );
// bye bye client unset($soapclient);
Located in /nusoap.php (line 6957)
nusoap_base | --nusoap_client
| Class | Description |
|---|---|
soapclient
|
For backwards compatiblity, define soapclient unless the PHP SOAP extension is loaded. |
nusoap_client_mime
|
nusoap_client_mime client supporting MIME attachments defined at http://www.w3.org/TR/SOAP-attachments. It depends on the PEAR Mail_MIME library. |
nusoap_client
nusoap_client
(mixed $endpoint, [bool $wsdl = false], [string $proxyhost = false], [string $proxyport = false], [string $proxyusername = false], [string $proxypassword = false], integer $timeout, [integer $response_timeout = 30], int $portName)
mixed
call
(string $operation, [mixed $params = array()], [string $namespace = 'http://tempuri.org'], [string $soapAction = ''], [mixed $headers = false], [boolean $rpcParams = null], [string $style = 'rpc'], [string $use = 'encoded'])
mixed
send
(string $msg, [string $soapaction = ''], integer $timeout, [integer $response_timeout = 30])
void
setCredentials
(string $username, string $password, [string $authtype = 'basic'], [array $certRequest = array()])
void
setHTTPProxy
(string $proxyhost, string $proxyport, [string $proxyusername = ''], [string $proxypassword = ''])
mixed
$authtype
= '' (line 6961)
mixed
$bindingType
= '' (line 6987)
mixed
$certRequest
= array() (line 6962)
mixed
$cookies
= array() (line 6983)
mixed
$curl_options
= array() (line 6986)
mixed
$decode_utf8
= true (line 6984)
mixed
$defaultRpcParams
= false (line 6979)
mixed
$document
= '' (line 6966)
mixed
$endpoint
(line 6967)
mixed
$endpointType
= '' (line 6977)
fault
$fault
(line 6997)
faultcode
$faultcode
(line 7002)
faultdetail
$faultdetail
(line 7012)
faultstring
$faultstring
(line 7007)
mixed
$forceEndpoint
= '' (line 6968)
mixed
$http_encoding
= false (line 6974)
mixed
$operations
= array() (line 6985)
mixed
$password
= '' (line 6960)
mixed
$persistentConnection
= false (line 6978)
mixed
$proxyhost
= '' (line 6969)
mixed
$proxypassword
= '' (line 6972)
mixed
$proxyport
= '' (line 6970)
mixed
$proxyusername
= '' (line 6971)
mixed
$request
= '' (line 6980)
mixed
$requestHeaders
= false (line 6963)
mixed
$response
= '' (line 6981)
mixed
$responseData
= '' (line 6982)
mixed
$responseHeader
= NULL (line 6965)
mixed
$responseHeaders
= '' (line 6964)
mixed
$response_timeout
= 30 (line 6976)
mixed
$timeout
= 0 (line 6975)
mixed
$username
= '' (line 6959)
mixed
$use_curl
= false (line 6988)
mixed
$xml_encoding
= '' (line 6973)
Inherited from nusoap_base
nusoap_base::$charencoding
nusoap_base::$debugLevel
nusoap_base::$debug_str
nusoap_base::$error_str
nusoap_base::$namespaces
nusoap_base::$revision
nusoap_base::$soap_defencoding
nusoap_base::$title
nusoap_base::$typemap
nusoap_base::$usedNamespaces
nusoap_base::$version
nusoap_base::$xmlEntities
nusoap_base::$XMLSchemaVersion
constructor
calls method, returns PHP native type
checks all Cookies and delete those which are expired
gets the default RPC parameter setting.
If true, default is that call params are like RPC even for document style. Each call() can override this value.
This is no longer used.
get the SOAP response headers (namespace resolution incomplete)
gets the HTTP body for the current request.
gets the HTTP content type for the current request.
Note: getHTTPBody must be called before this.
gets the HTTP content type charset for the current request.
returns false for non-text content types.
Note: getHTTPBody must be called before this.
get available data pertaining to an operation
dynamically creates an instance of a proxy class, allowing user to directly call methods from wsdl
processes SOAP message returned from server
send the SOAP message
Note: if the operation has multiple return values the return value of this method will be an array of those values.
adds a new Cookie into $this->cookies array
if authenticating, set user credentials here
sets user-specified cURL options
sets the default RPC parameter setting.
If true, default is that call params are like RPC even for document style Each call() can override this value.
This is no longer used.
sets the SOAP endpoint, which can override WSDL
set the SOAP headers
use HTTP encoding
set proxy info here
Set whether to try to use cURL connections if possible
updates the current cookies with a new set
use HTTP persistent connections if possible
dynamically creates proxy class code
Inherited From nusoap_base
nusoap_base::nusoap_base()
nusoap_base::appendDebug()
nusoap_base::clearDebug()
nusoap_base::contractQname()
nusoap_base::debug()
nusoap_base::expandEntities()
nusoap_base::expandQname()
nusoap_base::formatDump()
nusoap_base::getDebug()
nusoap_base::getDebugAsXMLComment()
nusoap_base::getDebugLevel()
nusoap_base::getError()
nusoap_base::getGlobalDebugLevel()
nusoap_base::getLocalPart()
nusoap_base::getmicrotime()
nusoap_base::getNamespaceFromPrefix()
nusoap_base::getPrefix()
nusoap_base::getPrefixFromNamespace()
nusoap_base::isArraySimpleOrStruct()
nusoap_base::serializeEnvelope()
nusoap_base::serialize_val()
nusoap_base::setDebugLevel()
nusoap_base::setError()
nusoap_base::setGlobalDebugLevel()
nusoap_base::varDump()
nusoap_base::__toString()
Documentation generated on Tue, 06 Nov 2007 10:36:01 -0500 by phpDocumentor 1.3.0RC3